var async = require("async");
var renderEngin = require("../common/renderEngin");
var Tools = require("../common/tools");
exports.payment = function(req, res) {
    use(["public/javascripts/payment/init.js", "public/javascripts/service/paymentService.js"], function(PageComponent, paymentService) {
        var storage = {};
        storage['slider'] = Tools.getPageSliderData("user_center");
        PageComponent = React.createFactory(PageComponent);
        renderEngin.call(res, 'payment', PageComponent, storage);
    });
}